package com.fanhang.samples.spring.shell.common;

import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.shell.plugin.support.DefaultPromptProvider;
import org.springframework.stereotype.Component;

@Component
@Order(Ordered.HIGHEST_PRECEDENCE)
public class SamplePromptProvider extends DefaultPromptProvider {

	@Override
	public String getPrompt() {
		return "sample cli $ ";
	}

	@Override
	public String getProviderName() {
		return super.getProviderName();
	}

}
